package com.aaa.smp.service;

import com.aaa.smp.dao.UserDao;
import com.aaa.smp.entity.Users;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * className:UserServiceImpl
 * discription:
 * author:luRuiHua
 * createTime:2018-12-14 09:36
 */
@Service
public class UserServiceImpl implements UserService{
    @Autowired
    private UserDao userDao;

    /**
     * 查询列表
     * @return
     */
    @Override
    public List<Users> getList() {
        return userDao.selectList(null);
    }
}
